//
//  LocationListenerViewController.h
//  ClienteHabitueIOS
//
//  Created by Mauro Carreño on 6/8/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>


@interface LocationListenerViewController : UIViewController <CLLocationManagerDelegate, UIAlertViewDelegate> {
    CLLocationManager *locationManager;
}


@property (nonatomic, retain) CLLocationManager *locationManager;


- (void) startReadingLocation;
- (void) stopUpdatingLocation:(NSString *)state;
//- (bool) isKnownLocation;
- (void) performLocationProblemAction ;
//Override to perform segue to the right screen
- (void) performLocationActivation;
//Override to perform aditional actions after location couldn be found
- (void) locationNotAvailablePostAction;
- (bool) isLocationWaiter;

+ (CLLocation *) getLastGoodLocation;

@end
